package com.zlcx.tz.live.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @AUTHOR xhl
 * @CREATE 2019-04-18 14:09
 **/
@Data
@ApiModel("用户加入房间记录")
public class UserJoinVO  implements Serializable {

    @ApiModelProperty(value = "房间id")
    private Long roomId;

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "麦状态 0-禁麦，1-正常")
    private Integer userMicState;

    @ApiModelProperty(value = "用户角色 0-房主，1-主播，2-观众，3-游客")
    private Integer userRole;

    @ApiModelProperty(value = "用户昵称")
    private String userName;

    @ApiModelProperty(value = "用户头像")
    private String userAvatar;

    @ApiModelProperty(value = "身份转换时间")
    private Date roleChangeTime;

    private Integer joinState;

    @ApiModelProperty(value = "连麦时长，单位秒")
    private Long liveTimes;

    @ApiModelProperty(value = "是否vip用户，1是，0不是")
    private Integer vipStatus;

    @ApiModelProperty(value = "用户类型，1正常用户，-1虚拟用户")
    private Integer type;

}
